import java.util.Scanner;

/**
 * Created with IntelliJ IDEA.
 * Description: 计算手中糖果
 */
public class Test1 {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int[] num = new int[4];
        for(int i = 0; i < 4; i++) {
            num[i] = sc.nextInt();
        }
        //后两个是相加的，必须判断是否是正数
        if(num[2] < 0 || num[3] < 0) {
            System.out.println("No");
            return;
        }
        int a;
        int b;
        int c;
        //得到结果 -4b
        double ans = ((num[0] - (num[1] + num[2] + num[3])) / (-4));
        if(ans % 1 == 0) {
            b = (int)ans;
        }else {
            System.out.println("No");
            return;
        }
        ans = 0;
        //得到结果 2(a + b)
        for(int i = 0; i < 4; i++) {
            ans += num[i];
        }
        ans /= 2;
        if(ans % 1 == 0) {
            a = (int)(ans - b);
        }else {
            System.out.println("No");
            return;
        }
        c = b - num[1];
        //结果必须判断是否大于0
        if(a < 0 || b < 0 || c < 0) {
            System.out.println("No");
        }else {
            System.out.println(a + " " + b + " " + c);
        }
    }
}
